local MaomaoOther = fk.CreateSkill {
    name = "MaomaoOther&",
  
  }
  
  Fk:loadTranslationTable{
    ["MaomaoOther"] = "猫猫",
    ["@@Maomao-inhand"] = "猫猫",
    ["MaomaoOther&"] = "猫猫",
    [":MaomaoOther&"] = "其他角色的出牌阶段，其可以交给你一张牌，然后下一张使用的牌改为你使用，你以此法获得的牌不计入手牌上限。",
    ["#MaomaoOther"] = "猫猫：你可交给有“猫猫”的角色一张牌，下一张使用的牌改为其使用。",
    ["@@Maomao"] = "≡∧猫猫∧≡",
  }
  
  MaomaoOther:addEffect("active", {
      prompt = "#MaomaoOther",
      --mute = true,
      can_use = function(self, player)
        if not player:isNude() then
              return table.find(Fk:currentRoom().alive_players, function(p) return p:hasSkill("Maomao") and p ~= player end)
          end
      end,
      card_num = 1,
      card_filter = function(self, player, to_select, selected)
        return #selected == 0 
      end,
      target_num = 1,
      target_filter = function(self, player, to_select, selected)
        return #selected == 0 and to_select:hasSkill("Maomao") and to_select ~= player
      end,
      on_use = function(self, room, effect)
        local player = effect.from
        local py = effect.tos[1]
        local get = effect.cards[1]
        room:obtainCard(py, get, false, fk.ReasonGive, player.id)
        room:setCardMark(Fk:getCardById(get), "@@Maomao-inhand", 1)
        room:setPlayerMark(py, "@@Maomao", 1)
      end,
  })
  
  return MaomaoOther